package org.zh.home.model;

/**
 * 查询对象
 * @author asdf
 */
public class Query {
	/**
	 * 字段名称
	 */
	private String name;
	/**
	 * 字段值、多个值 为in查询、以逗号分隔
	 */
	private String value;
	/**
	 * 分隔符  ？ and or .
	 */
	private Separator separator;
	/**
	 * 操作符  > < >= <= != in
	 */
	private Operate operate;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public Separator getSeparator() {
		return separator;
	}
	public void setSeparator(Separator separator) {
		this.separator = separator;
	}
	public Operate getOperate() {
		return operate;
	}
	public void setOperate(Operate operate) {
		this.operate = operate;
	}
	public Query() {
		super();
	}
	public Query(String name, String value, Separator separator, Operate operate) {
		super();
		this.name = name;
		this.value = value;
		this.separator = separator;
		this.operate = operate;
	}
}
